projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ac29c
)
More notes<->description fallout. Sigh.
author
robertl
<robertl>
Wed, 27 Nov 2002 23:10:13 +0000
(23:10 +0000)
committer
robertl
<robertl>
Wed, 27 Nov 2002 23:10:13 +0000
(23:10 +0000)
csv.c
patch
|
blob
|
history
diff --git
a/csv.c
b/csv.c
index e3d9cc01950ec336fa099f59fff41e72742225c8..b2141d9c39ed06228ab8c57646e51fd70043e07f 100644
(file)
--- a/
csv.c
+++ b/
csv.c
@@
-146,6
+146,9
@@
csv_waypt_pr(const waypoint *wpt)
if (wpt->description)
description = csv_stringclean(wpt->description, ",\"");
+ if ((description == NULL) && wpt->notes)
+ description = csv_stringclean(wpt->notes, ",\"");
+
fprintf(file_out, "%08.5f, %08.5f, %s\n",
lat,
lon,